﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009A9 RID: 2473
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JIADKOFHHJM : IMessage<JIADKOFHHJM>, IMessage, IEquatable<JIADKOFHHJM>, IDeepCloneable<JIADKOFHHJM>, IBufferMessage
	{
		// Token: 0x17001F4D RID: 8013
		// (get) Token: 0x06006EE8 RID: 28392 RVA: 0x00129305 File Offset: 0x00127505
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JIADKOFHHJM> Parser
		{
			get
			{
				return JIADKOFHHJM._parser;
			}
		}

		// Token: 0x17001F4E RID: 8014
		// (get) Token: 0x06006EE9 RID: 28393 RVA: 0x0012930C File Offset: 0x0012750C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JIADKOFHHJMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F4F RID: 8015
		// (get) Token: 0x06006EEA RID: 28394 RVA: 0x0012931E File Offset: 0x0012751E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JIADKOFHHJM.Descriptor;
			}
		}

		// Token: 0x06006EEB RID: 28395 RVA: 0x00129325 File Offset: 0x00127525
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JIADKOFHHJM()
		{
		}

		// Token: 0x06006EEC RID: 28396 RVA: 0x00129338 File Offset: 0x00127538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JIADKOFHHJM(JIADKOFHHJM other) : this()
		{
			this.aetherSkillList_ = other.aetherSkillList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006EED RID: 28397 RVA: 0x00129362 File Offset: 0x00127562
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JIADKOFHHJM Clone()
		{
			return new JIADKOFHHJM(this);
		}

		// Token: 0x17001F50 RID: 8016
		// (get) Token: 0x06006EEE RID: 28398 RVA: 0x0012936A File Offset: 0x0012756A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TrainPartyGameSkill> AetherSkillList
		{
			get
			{
				return this.aetherSkillList_;
			}
		}

		// Token: 0x06006EEF RID: 28399 RVA: 0x00129372 File Offset: 0x00127572
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JIADKOFHHJM);
		}

		// Token: 0x06006EF0 RID: 28400 RVA: 0x00129380 File Offset: 0x00127580
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JIADKOFHHJM other)
		{
			return other != null && (other == this || (this.aetherSkillList_.Equals(other.aetherSkillList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006EF1 RID: 28401 RVA: 0x001293B4 File Offset: 0x001275B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.aetherSkillList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006EF2 RID: 28402 RVA: 0x001293E8 File Offset: 0x001275E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006EF3 RID: 28403 RVA: 0x001293F0 File Offset: 0x001275F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006EF4 RID: 28404 RVA: 0x001293F9 File Offset: 0x001275F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.aetherSkillList_.WriteTo(ref output, JIADKOFHHJM._repeated_aetherSkillList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006EF5 RID: 28405 RVA: 0x00129420 File Offset: 0x00127620
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.aetherSkillList_.CalculateSize(JIADKOFHHJM._repeated_aetherSkillList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006EF6 RID: 28406 RVA: 0x00129459 File Offset: 0x00127659
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JIADKOFHHJM other)
		{
			if (other == null)
			{
				return;
			}
			this.aetherSkillList_.Add(other.aetherSkillList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006EF7 RID: 28407 RVA: 0x00129487 File Offset: 0x00127687
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006EF8 RID: 28408 RVA: 0x00129490 File Offset: 0x00127690
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.aetherSkillList_.AddEntriesFrom(ref input, JIADKOFHHJM._repeated_aetherSkillList_codec);
				}
			}
		}

		// Token: 0x04002A50 RID: 10832
		private static readonly MessageParser<JIADKOFHHJM> _parser = new MessageParser<JIADKOFHHJM>(() => new JIADKOFHHJM());

		// Token: 0x04002A51 RID: 10833
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002A52 RID: 10834
		public const int AetherSkillListFieldNumber = 7;

		// Token: 0x04002A53 RID: 10835
		private static readonly FieldCodec<TrainPartyGameSkill> _repeated_aetherSkillList_codec = FieldCodec.ForMessage<TrainPartyGameSkill>(58U, TrainPartyGameSkill.Parser);

		// Token: 0x04002A54 RID: 10836
		private readonly RepeatedField<TrainPartyGameSkill> aetherSkillList_ = new RepeatedField<TrainPartyGameSkill>();
	}
}
